<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户登录</title>
    <style>
        :root {
            --theme_color: #0d6efd;
            --theme_gray_bg_color: rgb(219, 219, 219);
            --linear_color: #999;
            --description_color: rgb(182, 182, 182);
            --border_bottom_color: #f7f7f7;
            --border_color: #c0c4cc;
        }

        * {
            padding: 0px;
            margin: 0px;
            box-sizing: border-box;
            list-style: none;
        }

        .theme_width {
            width: 1500px;
            margin: auto;
        }

        @media (max-width: 1500px) {
            .theme_width {
                width: 100%;
                padding: 0 20px;
            }
        }

        body {
            background-image: url(../img/bg.jpg);
            background-size: 100%;
            display: flex;
            height: 100vh;
            background-attachment: fixed;
        }

        main {
            background-color: white;
            border-radius: 5px;
            max-width: 500px;
            margin: auto;
            width: 100%;
            padding: 30px 20px;
        }

        input {
            display: block;
            width: 100%;
        }

        h2 {
            text-align: center;
        }

        .login_form {
            display: block;
        }

        .register_form {
            display: none;
        }

        .login_info_form {
            display: none;
        }

        .form_change {
            display: flex;
            width: 100%;
            margin-top: 20px;
            margin-bottom: 20px;
            justify-content: space-around;
        }

        .form_change span {
            padding-bottom: 5px;
            cursor: pointer;
            color: var(--description_color);
        }

        .form_change span.active {
            color: var(--theme_color);
            border-bottom: 2px solid var(--theme_color);
        }

        input {
            height: 40px;
            border-radius: 5px;
            margin: 20px auto;
            padding: 0 10px;
            color: #606266;
            border: 1px solid var(--border_color);
        }

        .reset_a {
            float: right;
            display: block;
            margin: 10px auto;
            color: var(--theme_color);
            text-decoration: none;
        }

        button {
            display: block;
            width: 100%;
            font-size: 16px;
            color: white;
            height: 44px;
            border-radius: 5px;
            border: none;
            background-color: var(--theme_color);
        }

        @media (max-width: 768px) {
            body {
                padding: 0 20px;
            }
        }

        .avatar_img {
            width: 100px;
            height: 100px;
            display: flex;
            border-radius: 50%;
            margin: auto;
        }

        .nickname {
            text-align: center;
            margin-bottom: 30px;
            margin-top: 10px;
            font-size: 18px;
        }

        .a_btn {
            padding: 10px 20px;
            color: white;
            border-radius: 5px;
            margin: 0 5px;
            line-height: 20px;
            text-decoration: none;
        }

        .btn_flex {
            display: flex;
            width: 100%;
            justify-content: center;
        }

        .btn_flex .a_btn:nth-child(1) {
            background-color: var(--theme_color);
        }

        .btn_flex .a_btn:nth-child(2) {
            background-color: rgb(165, 226, 74);
        }

        .btn_flex .a_btn:nth-child(3) {
            background-color: rgb(235, 80, 53);
        }

        @media (max-width: 500px) {
            .a_btn {
                padding: 10px 10px;
            }
        }

        .mark_bg {
            display: none;
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .notice_main {
            max-width: 500px;
            height: auto;
            margin: 50px auto auto auto;
            background-color: white;
            border-radius: 5px;
            padding: 30px 20px;
        }
    </style>
</head>

<body>
    <main>
        <div>
            <h2 id="stats">用户注册</h2>
            <p style="color:red;font-size: 20px;text-align: center;margin: 10px;">踢死</p>
            <form class="login_form active" id="login_form" method="post" action="/register">
                <input type="text" placeholder="请输入昵称" id="user_id" name="user_name">
                <input type="password" placeholder="请设置密码" name="user_password" id="user_password" value="">
                <a class="reset_a" href="/login.jsp">已经有账号？快去登录吧！</a>
                <button id="to_login">登录</button>
            </form>
        </div>
    </main>
</body>

</html>